package com.nowcoder.community.event;

import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@Data
public class FollowEvent extends Event{
    private int userId;
    private int followerId;

    public FollowEvent setUserId(int userId) {
        this.userId = userId;
        return this;
    }

    public FollowEvent setFollowerId(int followerId) {
        this.followerId = followerId;
        return this;
    }
}
